<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.org/ui" xmlns:a4j="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<h:panelGrid id="display" columns="2" cellpadding="4"
		style="width:400px;" styleClass="ui-widget-content"
		columnClasses="label, value">

		<f:facet name="header">
			<center>
				<h:outputText value="Özellikler" />
			</center>
			<br></br>
		</f:facet>

		<h:outputText value="Firma:" />
		<h:outputText id="urunFirmaIsim"
			value="#{KlimaBean.selectedKlima.sirketprofil.firmaAd}" />

		<h:outputText value="Marka:" />
		<p:inputText id="urunMarka"
			value="#{KlimaBean.selectedKlima.aygit.marka}" />

		<h:outputText value="Model:" />
		<p:inputText id="firmaModel"
			value="#{KlimaBean.selectedKlima.aygit.model}" />

		<h:outputText value="Renk:" />
		<p:inputText id="urunRenk"
			value="#{KlimaBean.selectedKlima.renk}" />

		<h:outputText value="Antibakteriyel İç Tasarım:" />
		<p:inputText id="urunAntibakteriyelicTasarim"
			value="#{KlimaBean.selectedKlima.antibakteriyelicTasarim}" />

		<h:outputText value="Antibakteriyel Toz Filtre:" />
		<p:inputText id="urunAntibakteriyelTozFiltre"
			value="#{KlimaBean.selectedKlima.antibakteriyelTozFiltre}" />

		<h:outputText value="Restart:" />
		<p:inputText id="urunRestart"
			value="#{KlimaBean.selectedKlima.restart}" />

		<h:outputText value="Yüksek Soğutma-ısıtma Performansı:" />
		<p:inputText id="urunYuksekSogutisitPerformans"
			value="#{KlimaBean.selectedKlima.yuksekSogutisitPerformans}" />

		<h:outputText value="Havalandırma:" />
		<p:inputText id="urunHavalandirma"
			value="#{KlimaBean.selectedKlima.havalandirma}" />

		<h:outputText value="Turbo Soğutma-ısıtma:" />
		<p:inputText id="urunTurboSogutisitma"
			value="#{KlimaBean.selectedKlima.turboSogutisitma}" />

		<h:outputText value="Gecikmeli Çalisma Fonk.:" />
		<p:inputText id="urunGecikCalisFonk"
			value="#{KlimaBean.selectedKlima.gecikCalisFonk}" />

		<h:outputText value="Uyku Modu:" />
		<p:inputText id="urunUykuModu"
			value="#{KlimaBean.selectedKlima.uykuModu}" />

		<h:outputText value="Otomatik kapanma:" />
		<p:inputText id="urunOtoOff"
			value="#{KlimaBean.selectedKlima.otoOff}" />

		<h:outputText value="Koku Giderici Filtre:" />
		<p:inputText id="urunKokuGidericiFiltre"
			value="#{KlimaBean.selectedKlima.kokuGidericiFiltre}" />

		<h:outputText value="Koku Kartuşu:" />
		<p:inputText id="urunKokuKartusu"
			value="#{KlimaBean.selectedKlima.kokuKartusu}" />

		<h:outputText value="Otomatik Mod:" />
		<p:inputText id="urunOtoMode"
			value="#{KlimaBean.selectedKlima.otoMode}" />

		<h:outputText value="Kolay Panel:" />
		<p:inputText id="urunKolayPanel"
			value="#{KlimaBean.selectedKlima.kolayPanel}" />

		<h:outputText value="Hava Salınımı:" />
		<p:inputText id="urunHavaSalinimi"
			value="#{KlimaBean.selectedKlima.havaSalinimi}" />

		<h:outputText value="Güçlü Nem Alma:" />
		<p:inputText id="urunGucluNemAlma"
			value="#{KlimaBean.selectedKlima.gucluNemAlma}" />

		<h:outputText value="Uzaktan Kumanda:" />
		<p:inputText id="urunUzaktanKumanda"
			value="#{KlimaBean.selectedKlima.uzaktanKumanda}" />

		<h:outputText value="Ratary Kompresor:" />
		<p:inputText id="urunRataryKompresor"
			value="#{KlimaBean.selectedKlima.rataryKompresor}" />

		<h:outputText value="Uzun Üfleme Mesafesi:" />
		<p:inputText id="urunUzunUflemeMesafesi"
			value="#{KlimaBean.selectedKlima.uzunUflemeMesafesi}" />

		<h:outputText value="Yönlü Hava Salınımı:" />
		<p:inputText id="urunYonluHavaSalinimi"
			value="#{KlimaBean.selectedKlima.yonluHavaSalinimi}" />

		<h:outputText value="Kademeli Fan Hızı:" />
		<p:inputText id="urunKademeliFanHizi"
			value="#{KlimaBean.selectedKlima.kademeliFanHizi}" />

		<h:outputText value="Prog. Hafızası:" />
		<p:inputText id="urunProgHafizasi"
			value="#{KlimaBean.selectedKlima.progHafizasi}" />

		<h:outputText value="Estetik Dizayn:" />
		<p:inputText id="urunEstetikDizayn"
			value="#{KlimaBean.selectedKlima.estetikDizayn}" />

		<h:outputText value="Oto. Fan Hız Kontrolü:" />
		<p:inputText id="urunOtoFanHizKontrol"
			value="#{KlimaBean.selectedKlima.otoFanHizKontrol}" />

		<h:outputText value="Lonizer:" />
		<p:inputText id="urunLonizer"
			value="#{KlimaBean.selectedKlima.lonizer}" />

		<h:outputText value="Nem Alma Kapasite:" />
		<p:inputText id="urunNemAlmaKapasite"
			value="#{KlimaBean.selectedKlima.nemAlmaKapasite}" />

		<h:outputText value="Gaz Tipi:" />
		<p:inputText id="urunGazTipi"
			value="#{KlimaBean.selectedKlima.gazTipi}" />

		<h:outputText value="Soğutma Kapasite:" />
		<p:inputText id="urunsogutmaKapasite"
			value="#{KlimaBean.selectedKlima.sogutmaKapasite}" />

		<h:outputText value="Isıtma Kapasite:" />
		<p:inputText id="urunisitmaKapasite"
			value="#{KlimaBean.selectedKlima.isitmaKapasite}" />

		<h:outputText value="Enerji Sınıfı:" />
		<p:inputText id="urunEnerjiSinifi"
			value="#{KlimaBean.selectedKlima.enerjiSinifi}" />

		<h:outputText value="Elektrik Özellik:" />
		<p:inputText id="urunElekOzellik"
			value="#{KlimaBean.selectedKlima.elekOzellik}" />

		<h:outputText value="Çekilen Güç:" />
		<p:inputText id="urunCekilenGuc"
			value="#{KlimaBean.selectedKlima.cekilenGuc}" />

		<h:outputText value="Çekilen Elek. Akımı:" />
		<p:inputText id="urunCekilenElekAkimi"
			value="#{KlimaBean.selectedKlima.cekilenElekAkimi}" />

		<h:outputText value="Ses Seviyesi:" />
		<p:inputText id="urunSesSeviyesi"
			value="#{KlimaBean.selectedKlima.sesSeviyesi}" />

		<h:outputText value="Hava Debisi:" />
		<p:inputText id="urunHavaDebisi"
			value="#{KlimaBean.selectedKlima.havaDebisi}" />

		<h:outputText value="Dış Ünite Boyut:" />
		<p:inputText id="urunDisUniteBoyut"
			value="#{KlimaBean.selectedKlima.disUniteBoyut}" />

		<h:outputText value="İç Ünite Boyut:" />
		<p:inputText id="urunicUniteBoyut"
			value="#{KlimaBean.selectedKlima.icUniteBoyut}" />

		<h:outputText value="Dış Ünite Net Ağırlık:" />
		<p:inputText id="urundisNetAgirlik"
			value="#{KlimaBean.selectedKlima.disNetAgirlik}" />

		<h:outputText value="Boru Çapları:" />
		<p:inputText id="urunBoruCaplari"
			value="#{KlimaBean.selectedKlima.boruCaplari}" />

		<h:outputText value="Garanti Suresi:" />
		<p:inputText id="urunGarantiSuresi"
			value="#{KlimaBean.selectedKlima.garantiSuresi}" />
			
		<h:outputText />
		<p:commandButton value="Save" update=":urunislemForm" id="ajax" 
			action="#{KlimaBean.SaveOrUpdate}" />
	</h:panelGrid>
	<c:if test="#{AygitBean.yeniUrun==false}">

		<p:dataGrid var="resim" value="#{ResimlerBean.selectedAygitResimList}"
			columns="3" rows="6" paginator="true" id="resimListesi"
			paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} 
					{PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
			rowsPerPageTemplate="3,6,9">

			<p:column>
				<p:panel>
					<h:panelGrid columns="1" style="width:100%">
						<p:graphicImage value="#{resim.resimKonum}"
							style="height:100px; width:90px;" />

						<p:commandButton value="Delete" update=":urunislemForm"
							id="DeletePictures"
							action="#{ResimlerBean.deleteAygitFile(resim)}" />

					</h:panelGrid>
				</p:panel>
			</p:column>

		</p:dataGrid>

	</c:if>
	<ui:include src="uploadPictures.xhtml" />
</ui:composition>